import Vue from 'vue'
import Vuex from 'vuex'
Vue.use(Vuex)

import user from './modules/user.js'
import order from './modules/order.js'
import goods from './modules/goods.js'

//Vuex.Store 构造器选项
const store = new Vuex.Store({
	modules: {
		user,
		order,
		goods
	}
})
export default store